package com.qianfeng.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName: UserTable
 * @Description: TODO
 * @author: Buke
 * @date: 2021-09-17 20:21:50
 * @since JDK 1.8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserTable {
    @ExcelProperty("编号")
    private Integer id;
    @ExcelProperty("用户名")
    private String userName;
    private String userPwd;
    private String userRealname;
    private String userGender;
    private String userEmail;
    private String userPhone;
    private String userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")//格式化日期
    private Date userBirthdate;
    private Integer userLock;
    private String userAddress;
    private String userImage;

}
